// 动态路由
export default [
    {
        name: 'cart',
        path: '/cart',
        component: () => import(/* webpackChunkName: "about" */ '../views/Cart') 
    },
    {
        name: 'contact',
        path: '/contact',
        component:{
            render(h) {
                return <h1> 联系我 </h1>
            }
        }       
    },
    {
        name: 'service',
        path: '/service',
        component:{
            render(h) {
                return <h1> 服务 </h1>
            }
        }
    }
]